package ru.spb.osll.myfit.common;

import java.io.Serializable;

import com.google.gwt.user.client.rpc.IsSerializable;

public class VerificationResult implements Serializable, IsSerializable {
  private static final long serialVersionUID = 4304255037436120231L;
  private boolean hasError;
  private Page m_page;

  public VerificationResult() {
    m_page = new Page();
    hasError = false;
  }
  
  public VerificationResult(Page page, boolean hasError){
    this.hasError = hasError;
    m_page = page;
  }
  
  public Page getPage(){
    return m_page;
  }
  
  public boolean hasError(){
    return hasError;
  }

}
